package com.bt.lms.entity;

import java.util.List;

/**
 * 学习中心
 *
 * @author 徐大永
 */
public class StudyCen {

    /**
     * id
     *
     * @reqRule 数据库里的id
     */
    private Long id;

    /**
     * 名称
     *
     * @reqRule 必填，文本  8字符以下
     */
    private String name;

    /**
     * 编码
     * 暂时用UUID
     * @reqRule 必填 文本 系统生成
     */
    private String code;

    /**
     * 联系人
     *
     * @reqRule 必填 文本 32位以下
     */
    private String relationPen;

    /**
     * 移动电话
     *
     * @reqRule 必填 文本 11位
     */
    private String phone;

    /**
     * 电子邮箱
     *
     * @reqRule 必填 文本 64以下
     */
    private String email;

    /**
     * 描述
     *
     * @reqRule 非必填 文本 255以下
     */
    private String describe;

    /**
     * 地址
     *
     * @reqRule
     */
    private String address;


    //---------------------关系

    /**
     * 拥有的专业
     */
    private List<Major> majors;

    /**
     * 拥有的教学计划
     */
    private List<TeachingPlanBasicInfo> teachingPlanBasicInfos;

    /**
     * 拥有的招生计划
     */
    private List<EnrollmentPlan> enrollmentPlans;


    public List<Major> getMajorInfos() {
        return majors;
    }

    public void setMajorInfos(List<Major> majors) {
        this.majors = majors;
    }

    public List<TeachingPlanBasicInfo> getTeachingPlanBasicInfos() {
        return teachingPlanBasicInfos;
    }

    public void setTeachingPlanBasicInfos(List<TeachingPlanBasicInfo> teachingPlanBasicInfos) {
        this.teachingPlanBasicInfos = teachingPlanBasicInfos;
    }

    public List<EnrollmentPlan> getEnrollmentPlans() {
        return enrollmentPlans;
    }

    public void setEnrollmentPlans(List<EnrollmentPlan> enrollmentPlans) {
        this.enrollmentPlans = enrollmentPlans;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRelationPen() {
        return relationPen;
    }

    public void setRelationPen(String relationPen) {
        this.relationPen = relationPen;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
}
